header {
    font-family: "microsoft yahei";
}

html,
body {
    height: 100%;
}

#container {
    min-height: calc(100% - 221px);
}

header.pc_dom {
    width: 100%;
    min-height: 100px;
    background: #2d99ad url("../../images/header_bg.png");
    .header {
        min-height: 100px;
        min-width: 1024px;
        padding: 0 100px;
        display: -webkit-flex;
        display: flex;
        align-items: center;
    }
    .row_center {
        display: -webkit-flex;
        display: flex;
        align-items: center;
    }
    .header_logo {}
    .header_nav {}
    .hn_ul {
        height: 68px;
        margin: 33px 0 0;
        line-height: 64px;
        .tabLi {
            border-bottom: 4px solid #fff;
        }
        li {
            float: left;
            margin-left: 12px;
            a {
                color: #fff;
            }
        }
    }
    .header_help {
        position: relative;
        top: -12px;
    }
    .help_top {}
    .hp_ul {
        li {
            float: right;
            padding: 0 15px 15px;
            a {
                color: #fff;
            }
        }
        li:first-child {
            padding-right: 0px;
        }
    }
    .myaccount {
        min-width: 110px;
        li {
            float: none;
            padding: 0;
        }
        a {
            display: block;
            padding: 3px 20px;
            clear: both;
            font-weight: 400;
            line-height: 1.42857143;
            color: #333;
            white-space: nowrap;
        }
    }
    .help_bottom {
        .shopCar {
            position: relative;
            float: right;
        }
        .btnCar {
            border-color: #2cb2ce !important;
            padding: 3px 10px;
            a {
                color: #2cb2ce;
                i {
                    margin-right: 4px;
                }
            }
            &:hover {
                background-color: #fff !important;
            }
        }
        .carNumber {
            width: 29px;
            height: 19px;
            position: absolute;
            top: -11px;
            right: -13px;
            background-color: #ff7a7a;
            color: #fff;
            text-align: center;
            font-size: 13px;
            line-height: 19px;
            -webkit-border-radius: 50%;
            -moz-border-radius: 50%;
            border-radius: 10px;
            font-weight: lighter;
        }
        .v_search {
            float: right;
            @media all and (max-width: 1024px) {
                & {
                    margin-right: 20px;
                    .in_con {
                        width: 290px;
                        i {
                            float: left;
                            margin-left: 10px;
                            line-height: 30px;
                            color: #299eb6;
                            font-weight: bold;
                        }
                    }
                    .search_input {
                        width: 202px;
                        height: 28px;
                    }
                    .search_b {
                        width: 60px;
                        border-radius: 0 3px 3px 0;
                        height: 28px;
                    }
                }
            }
            @media (min-width: 1025px) {
                & {
                    margin-right: 20px;
                    .in_con {
                        width: 310px;
                        i {
                            float: left;
                            line-height: 30px;
                            margin-left: 10px;
                            color: #289db5;
                            font-weight: bold;
                        }
                    }
                    .search_input {
                        width: 222px;
                        height: 28px;
                    }
                    .search_b {
                        width: 60px;
                        height: 28px
                    }
                }
            }
        }
        .in_con {
            width: 365px;
            padding: 1px;
            background: #fff;
            height: 30px;
            -webkit-border-radius: 3px;
            -moz-border-radius: 3px;
            border-radius: 3px;
            position: relative;
        }
        .search_input {
            outline: none;
            width: 280px;
            height: 32px;
            line-height: 32px;
            vertical-align: middle;
            border: none;
            background: #fff;
            padding-left: 5px;
            float: left;
        }
        .search_b {
            width: 80px;
            height: 32px;
            border: none;
            color: #fff;
            font-size: 15px;
            position: absolute;
            right: 1px;
            background: #37a3b9;
            border-radius: 0 3px 3px 0;
        }
    }
    .pc-nav {
        background: #333;
        padding: 0 10px;
        color: #F60;
        li {
            float: left;
            text-align: center;
            position: relative;
            padding: 0 !important;
            &:hover {
                .pc-subnav {
                    display: block;
                }
            }
            a {
                padding: 0 10px;
                display: block;
                color: #fff;
                float: left;
            }
        }
        .pc-subnav {
            display: none;
            position: absolute;
            top: 17px;
            left: 2px;
            width: 100px;
            padding: 5px 0;
            margin: 2px 0 0;
            z-index: 100;
            color: #000;
            background-color: #fff;
            -webkit-border-radius: 4px;
            -moz-border-radius: 4px;
            border-radius: 4px;
            -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
            -moz-box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
            -ms-box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
            -o-box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
            box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
            li {
                clear: both;
                width: 100px;
                height: 30px;
                line-height: 30px;
                padding: 0!important;
                &:hover {
                    background-color: #2799b1;
                    a {
                        color: #fff !important;
                    }
                }
                a {
                    padding: 0 20px!important;
                    color: #000!important;
                }
            }
        }
    }
    .pc-nav li:hover,
    .pc-nav li:focus {
        text-decoration: none;
        background-color: #2d99ae;
    }
}

// phone head style start
@media all and (max-width: 770px) {
    #container {
        min-height: calc(100% - 194px);
    }
    .phone_dom {
        width: 100%;
        height: 8.15em;
        background: #2d99ad url("../../images/head_phone_bg.png");
        .p_head {
            height: 5.1em;
            display: -webkit-flex;
            display: flex;
            text-align: center;
            line-height: 5.1em;
        }
        .p_logo {
            flex: 3;
            display: flex;
            align-items: center;
            justify-content: center;
            a {
                width: 100%;
                margin-left: .4em;
                img {
                    width: 100%;
                }
            }
        }
        .p_help {
            flex: 3;
        }
        .p_hp_ul {
            padding: 0;
        }
        li {
            float: right;
            margin-right: 0.5em;
            a {
                color: #fff;
            }
            &:first-child {
                margin-right: 0.4em;
            }
        }
        .max-width-60 {
            max-width: 60px;
            display: inline-block;
            float: left;
            white-space: nowrap;
            text-overflow: ellipsis;
            -o-text-overflow: ellipsis;
            overflow: hidden;
        }
        .myaccount {
            min-width: 4em;
            li {
                float: none;
                padding: 0;
            }
            a {
                display: block;
                padding: 3px 20px;
                clear: both;
                font-weight: 400;
                line-height: 1.42857143;
                color: #333;
                white-space: nowrap;
            }
        }
        .phone-nav {
            background: #333;
            padding: 0 10px;
            color: #F60;
            li {
                float: left;
                text-align: center;
                position: relative;
                padding: 0 !important;
                margin: 0 !important;
                a {
                    display: block;
                    color: #fff;
                    float: left;
                }
            }
            .phone-subnav {
                display: none;
                position: absolute;
                top: 3em;
                left: 2px;
                width: 100px;
                padding: 5px 0;
                margin: 2px 0 0;
                z-index: 100;
                color: #000;
                background-color: #fff;
                -webkit-border-radius: 4px;
                -moz-border-radius: 4px;
                border-radius: 4px;
                -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
                -moz-box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
                -ms-box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
                -o-box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
                box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
                li {
                    clear: both;
                    width: 100px;
                    height: 30px;
                    line-height: 30px;
                    padding: 0!important;
                    &:hover {
                        background-color: rgba(0, 0, 0, .1);
                    }
                    a {
                        padding: 0 20px!important;
                        color: #000!important;
                    }
                }
            }
        }
        .phone-nav li:hover,
        .phone-nav li:focus {
            text-decoration: none;
        }
        .p_nav {
            height: 3.2em;
        }
        .p_ul {
            height: 3.2em;
            display: -webkit-flex;
            display: flex;
            text-align: center;
            line-height: 3.2em;
            padding: 0;
            margin-bottom: 0px;
            .p_ul_li_active {
                border-bottom: 5px solid #fff;
            }
            li {
                flex: 1;
                a {
                    color: #fff;
                }
                &:last-child {
                    position: relative;
                    a:nth-child(2) {
                        margin-left: 20px;
                    }
                }
            }
            .carNumberPhone {
                width: 19px;
                height: 19px;
                position: absolute;
                top: 0em;
                z-index: 999999999;
                right: -0.5em;
                float: right;
                background-color: #ff7a7a;
                color: #fff;
                text-align: center;
                font-size: 13px;
                line-height: 19px;
                -webkit-border-radius: 50%;
                -moz-border-radius: 50%;
                border-radius: 10px;
                font-weight: lighter;
            }
        }
    }
}

.mb_sb_search {
    display: none;
    position: relative;
    width: 100%;
    height: .9rem;
    border-bottom: 1px solid #eee;
    padding: .1rem 0;
    box-shadow: 0px 0px 8px #ddd;
}

.mb_go2pre {
    position: absolute;
    left: .09rem;
    top: .14rem;
    width: 8%;
    color: #666;
    background-size: contain;
    i {
        font-size: 28px!important;
    }
}

.mb_sb_form {
    position: absolute;
    width: 89%;
    height: .5rem;
    left: 10%;
    top: 24%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    -o-box-sizing: border-box;
    box-sizing: border-box;
}

.mb_input_search {
    padding: .1rem .2rem;
    float: left;
    width: 4.5rem;
    height: .5rem;
    box-shadow: none;
    -webkit-appearance: none;
    border-radius: 4px;
    border: 1px solid #28aac5;
    font-size: .28rem;
    line-height: .5rem;
    vertical-align: middle;
    background: transparent;
    background-color: #fff;
    outline: none;
}

.mb_input_search:focus {
    border-color: #28aac5;
}

#phone-search-remove {
    position: absolute;
    right: 1.35rem;
    top: .13rem;
    color: #f00909;
}

.mb_sb_submit {
    position: absolute;
    height: .5rem;
    width: 1.1rem;
    color: #ffffff;
    right: 0;
    background-color: #28aac5;
    font-size: 15px;
    line-height: .5rem;
    border-radius: 3px;
    text-align: center;
    border: 1px solid #28aac5;
}

// phone head style end
//新加的弹出登录的样式
#loginModal {
    .modal-backdrop {
        background-color: #FFFF00;
        opacity: 0;
        filter: alpha(opacity=0);
    }
    .modal-dialog {
        margin-top: 180px;
    }
    .modal-content {
        border: 7px solid #d4eef4;
    }
    .modal-header {
        height: 5em;
        color: #28aac5;
        display: -webkit-flex;
        display: flex;
        align-items: center;
        justify-content: center;
        background: url("../../images/login/modal_head_bg.png") no-repeat;
        background-size: cover;
    }
    .modal-body {
        margin-top: 30px;
    }
    .center {
        float: none;
        margin: 0 auto;
    }
    .Third_party_login {
        width: 60%;
        margin: 20px auto 0;
        display: flex;
        .line {
            flex: 1;
            position: relative;
            top: -10px;
            border-bottom: 1px solid #ccc;
        }
        .text {
            padding: 0 12px;
            font-weight: 700;
            font-size: 14px;
        }
    }
    .Third_party_login_logo {
        width: 60%;
        margin: 20px auto 0;
        img {
            width: 90%;
            cursor: pointer;
        }
        img:last-child {
            float: right;
        }
    }
    .btn-option-primary {
        color: #fff;
        background-color: #28aac5;
        border-color: #28aac5;
        &:hover,
        &:active,
        &:focus {
            border-color: #28aac5!important;
            color: #fff !important;
            background-color: #28aac5 !important;
        }
    }
    .btn-option-default {
        border-color: #28aac5;
        color: #28aac5;
        &:hover,
        &:active,
        &:focus {
            border-color: #28aac5!important;
            color: #28aac5 !important;
            background-color: #fff !important;
        }
    }
    .modal-footer,
    .modal-header {
        border: none;
        text-align: center;
    }
}

@media (min-width: 768px) {
    #loginModal {
        .modal-dialog {
            width: 500px;
            margin-top: 8.5em;
        }
    }
}

@media all and (max-width:768px) {
    #loginModal {
        .modal-dialog {
            margin-top: 8.5em;
        }
        .modal-body {
            margin-top: 0px;
        }
        .Third_party_login,
        .Third_party_login_logo {
            margin: 0 auto;
            a {
                display: inline-block;
                width: 50px;
                height: 50px;
            }
            img {
                width: 100%;
            }
            .m-c {
                margin: 0 auto;
            }
        }
    }
}

.form-horizontal .control-label {
    text-align: center;
}

.a_margin {
    margin-right: 15px;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: block;
    line-height: 0;
    height: 0;
    font-size: 0;
    visibility: hidden;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}